package com.vcredit.creditcat.manager;

import com.alibaba.dubbo.config.annotation.Service;
import com.baidu.disconf.client.common.annotations.DisconfFile;
import com.baidu.disconf.client.common.annotations.DisconfFileItem;
import com.vcredit.creditcat.api.IAppSwitchManager;
import com.vcredit.creditcat.api.IAppVersionManager;
import com.vcredit.creditcat.model.AppVersion;
import com.vcredit.creditcat.service.AppSwitchService;
import com.vcredit.creditcat.service.AppVersionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;

/**
 * 全局开关配置中心管理类
 *
 * @Author:wichell
 */
@Service(protocol = { "protocol1" }, version = "1.0")
public class AppSwitchManager implements IAppSwitchManager {

	@Autowired
	private AppSwitchService appSwitchService;

	@Override
	public String getAndroidAppSwitch() {
		return appSwitchService.getAppAndroidSwitch();
	}

	@Override
	public String getIOSAppSwitch() {
		return appSwitchService.getAppIOSSwitch();
	}
}
